package com.example.mvvm_base.base.model;

import com.example.mvvm_base.mvvm.db.AppDateBaseUtils;
import com.example.mvvm_base.mvvm.db.MoneyDao;
import com.example.mvvm_base.mvvm.db.UserDao;
import com.example.mvvm_base.net.ApiService;
import com.example.mvvm_base.net.RetrofitManger;

public class BaseRepo {
 protected ApiService apiService;
 protected UserDao userDao;
 protected MoneyDao moneyDao;
 public  BaseRepo(){
     apiService= RetrofitManger.getInstance().getRetrofit().create(ApiService.class);
     moneyDao= AppDateBaseUtils.getInstance().getMoneyDao();
     userDao=AppDateBaseUtils.getInstance().getUserDao();
 }
}
